package cn.yunhe.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Administrator on 2018/5/22.
 */
public class Comment implements Serializable {
    private int com_id;
    private Problem problem;
    private String com_content;
    private Student student;
    private Date c_date;
    private int count;

    public Comment() {
        super();
    }

    public Comment(int com_id, Problem problem, String com_content, Student student, Date c_date, int count) {
        this.com_id = com_id;
        this.problem = problem;
        this.com_content = com_content;
        this.student = student;
        this.c_date = c_date;
        this.count = count;
    }

    public int getCom_id() {
        return com_id;
    }

    public void setCom_id(int com_id) {
        this.com_id = com_id;
    }

    public Problem getProblem() {
        return problem;
    }

    public void setProblem(Problem problem) {
        this.problem = problem;
    }

    public String getCom_content() {
        return com_content;
    }

    public void setCom_content(String com_content) {
        this.com_content = com_content;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public Date getC_date() {
        return c_date;
    }

    public void setC_date(Date c_date) {
        this.c_date = c_date;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "c_date=" + c_date +
                ", com_id=" + com_id +
                ", problem=" + problem +
                ", com_content='" + com_content + '\'' +
                ", student=" + student +
                ", count=" + count +
                '}';
    }
}
